package com.yixq.soa.service.web.constant;

import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class UserConstant {
	/*********关爱类型*******/
	public static final Map<Integer, String> CARE_TYPE_MAP = new HashMap<Integer, String>(){
		/**
		 * 
		 */
		private static final long serialVersionUID = 7500736549127936425L;

		{
			put(1, "普通");
			put(2, "伤残人士");
			put(3, "孤寡老人");
			put(4, "老上访户");
			put(5, "老干部");
			put(6, "留守儿童");
			put(7, "五保户");
			put(8, "其他");
		}
	};
	/******证件类型******/
	public static final Map<Integer, String> CARD_TYPE_MAP = new HashMap<Integer, String>(){
		/**
		 * 
		 */
		private static final long serialVersionUID = -8253365360420360910L;

		{
			put(1, "身份证");
			put(2, "护照");
			put(3, "港澳通行证");
			put(4, "台胞证");
		}
	};
	/**********住户类型*********/
	public static final Map<Integer, String> USER_TYPE_MAP = new HashMap<Integer, String>(){
		/**
		 * 
		 */
		private static final long serialVersionUID = -8253365360420360910L;

		{
			put(0, "业主");
			put(1, "家人");
			put(2, "租客");
			put(3, "临时客人");
			put(4, "房东");
		}
	};
	
	/**********开门方式*********/
	public static final Map<Integer, String> OPEN_TYPE_MAP = new HashMap<Integer, String>(){
		/**
		 * 
		 */
		private static final long serialVersionUID = -8253365360420360910L;

		{
			put(1, "门禁卡");
			put(2, "APP");
			put(3, "拨号");
			put(4, "密码");
			put(5, "门禁视频开门");
			put(6, "呼叫开门");
			put(7, "未开门");
			put(8, "AP热点");
			put(9, "身份证卡");
		}
	};
	
	public static final Map<Integer, String> LOGIN_TYPE_MAP = new HashMap<Integer, String>(){

		/**
		 * 
		 */
		private static final long serialVersionUID = -1610782677631443078L;
		{
			put(1, "管理员");
			put(2, "民警");
			put(3, "协警");
			put(4, "保安");
			put(5, "物业");
			put(6, "房东");
		}
	};
	
	public static final List<Integer> POLICE_TYPE = Arrays.asList(2, 3, 4, 6); 
	
}
